package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 任务计划模板关联表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_task_plan_template")
public class MaintainTaskPlanTemplate extends TenantEntity {
    /**
     * 任务计划id
     */
    @TableField(value = "task_plan_id")
    private Long taskPlanId;

    /**
     * 模板id
     */
    @TableField(value = "template_id")
    private String templateId;

    /**
     * 周期值
     */
    @TableField(value = "period")
    private String period;

    /**
     * 周期类型 1-周期 2-固定月份
     */
    @TableField(value = "period_type")
    private Integer periodType;

    /**
     * 优先级
     */
    @TableField(value = "priority")
    private Integer priority;
}
